package com.example.user.myhjjf_app.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by User on 2017/8/21.
 */

public class Model_Tagging implements Serializable {

    /**
     * success : true
     * value : {"item":{"lng":106.107069,"lat":25.173805,"boundary":null,"details":null,"level":3,"color":null,"name":"综合业务区二","id":"402883b95939b53701593a2b8fbf0007","type":0},"array":[{"lng":106.1023042616,"lat":25.1691697104,"boundary":null,"details":{"area":4555,"address":"fhhh","code":"123546","distance":0,"lng":106.1023042616,"name":"qety","departId":"4028838656b6a33e0156b6d094ea0010","description":"cbhzg","zoneId":"402883b95939b53701593a2b8fbf0007","id":"8a21459c5e0224b6015e02836ffc000e","lat":25.1691697104},"level":3,"color":null,"name":"qety","id":"8a21459c5e0224b6015e02836ffc000e","type":1}],"zoom":15,"lines":[]}
     * exception : null
     */

    private boolean success;
    private ValueBean value;
    private Object exception;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public ValueBean getValue() {
        return value;
    }

    public void setValue(ValueBean value) {
        this.value = value;
    }

    public Object getException() {
        return exception;
    }

    public void setException(Object exception) {
        this.exception = exception;
    }

    @Override
    public String toString() {
        return "Model_Tagging{" +
                "success=" + success +
                ", value=" + value +
                ", exception=" + exception +
                '}';
    }

    public static class ValueBean implements Serializable{
        /**
         * item : {"lng":106.107069,"lat":25.173805,"boundary":null,"details":null,"level":3,"color":null,"name":"综合业务区二","id":"402883b95939b53701593a2b8fbf0007","type":0}
         * array : [{"lng":106.1023042616,"lat":25.1691697104,"boundary":null,"details":{"area":4555,"address":"fhhh","code":"123546","distance":0,"lng":106.1023042616,"name":"qety","departId":"4028838656b6a33e0156b6d094ea0010","description":"cbhzg","zoneId":"402883b95939b53701593a2b8fbf0007","id":"8a21459c5e0224b6015e02836ffc000e","lat":25.1691697104},"level":3,"color":null,"name":"qety","id":"8a21459c5e0224b6015e02836ffc000e","type":1}]
         * zoom : 15
         * lines : []
         */

        private ItemBean item;
        private int zoom;
        private List<ArrayBean> array;
        private List<LinesBean> lines;

        public ItemBean getItem() {
            return item;
        }

        public void setItem(ItemBean item) {
            this.item = item;
        }

        public int getZoom() {
            return zoom;
        }

        public void setZoom(int zoom) {
            this.zoom = zoom;
        }

        public List<ArrayBean> getArray() {
            return array;
        }

        public void setArray(List<ArrayBean> array) {
            this.array = array;
        }

        public List<LinesBean> getLines() {
            return lines;
        }

        public void setLines(List<LinesBean> lines) {
            this.lines = lines;
        }

        @Override
        public String toString() {
            return "ValueBean{" +
                    "item=" + item +
                    ", zoom=" + zoom +
                    ", array=" + array +
                    ", lines=" + lines +
                    '}';
        }

        public static class ItemBean implements Serializable{
            /**
             * lng : 106.107069
             * lat : 25.173805
             * boundary : null
             * details : null
             * level : 3
             * color : null
             * name : 综合业务区二
             * id : 402883b95939b53701593a2b8fbf0007
             * type : 0
             */

            private double lng;
            private double lat;
            private Object boundary;
            private Object details;
            private int level;
            private Object color;
            private String name;
            private String id;
            private int type;

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public Object getBoundary() {
                return boundary;
            }

            public void setBoundary(Object boundary) {
                this.boundary = boundary;
            }

            public Object getDetails() {
                return details;
            }

            public void setDetails(Object details) {
                this.details = details;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public Object getColor() {
                return color;
            }

            public void setColor(Object color) {
                this.color = color;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            @Override
            public String toString() {
                return "ItemBean{" +
                        "lng=" + lng +
                        ", lat=" + lat +
                        ", boundary=" + boundary +
                        ", details=" + details +
                        ", level=" + level +
                        ", color=" + color +
                        ", name='" + name + '\'' +
                        ", id='" + id + '\'' +
                        ", type=" + type +
                        '}';
            }
        }

        public static class ArrayBean implements Serializable{
            /**
             * lng : 106.1023042616
             * lat : 25.1691697104
             * boundary : null
             * details : {"area":4555,"address":"fhhh","code":"123546","distance":0,"lng":106.1023042616,"name":"qety","departId":"4028838656b6a33e0156b6d094ea0010","description":"cbhzg","zoneId":"402883b95939b53701593a2b8fbf0007","id":"8a21459c5e0224b6015e02836ffc000e","lat":25.1691697104}
             * level : 3
             * color : null
             * name : qety
             * id : 8a21459c5e0224b6015e02836ffc000e
             * type : 1
             */

            private double lng;
            private double lat;
            private Object boundary;
            private DetailsBean details;
            private int level;
            private Object color;
            private String name;
            private String id;
            private int type;

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public Object getBoundary() {
                return boundary;
            }

            public void setBoundary(Object boundary) {
                this.boundary = boundary;
            }

            public DetailsBean getDetails() {
                return details;
            }

            public void setDetails(DetailsBean details) {
                this.details = details;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public Object getColor() {
                return color;
            }

            public void setColor(Object color) {
                this.color = color;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            @Override
            public String toString() {
                return "ArrayBean{" +
                        "lng=" + lng +
                        ", lat=" + lat +
                        ", boundary=" + boundary +
                        ", details=" + details +
                        ", level=" + level +
                        ", color=" + color +
                        ", name='" + name + '\'' +
                        ", id='" + id + '\'' +
                        ", type=" + type +
                        '}';
            }

            public static class DetailsBean implements Serializable{
                /**
                 * area : 4555
                 * address : fhhh
                 * code : 123546
                 * distance : 0
                 * lng : 106.1023042616
                 * name : qety
                 * departId : 4028838656b6a33e0156b6d094ea0010
                 * description : cbhzg
                 * zoneId : 402883b95939b53701593a2b8fbf0007
                 * id : 8a21459c5e0224b6015e02836ffc000e
                 * lat : 25.1691697104
                 */

                private int area;
                private String address;
                private String code;
                private int distance;
                private String description;
                private int yellowCount;
                private double lng;
                private int zggqCount;
                private int zjdCount;
                private String name;
                private String departId;
                private String zoneId;
                private int redCount;
                private String id;
                private double lat;
                private String zjdName;


                public int getYellowCount() {
                    return yellowCount;
                }

                public void setYellowCount(int yellowCount) {
                    this.yellowCount = yellowCount;
                }

                public int getZggqCount() {
                    return zggqCount;
                }

                public void setZggqCount(int zggqCount) {
                    this.zggqCount = zggqCount;
                }

                public int getZjdCount() {
                    return zjdCount;
                }

                public void setZjdCount(int zjdCount) {
                    this.zjdCount = zjdCount;
                }

                public int getRedCount() {
                    return redCount;
                }

                public void setRedCount(int redCount) {
                    this.redCount = redCount;
                }

                public String getZjdName() {
                    return zjdName;
                }

                public void setZjdName(String zjdName) {
                    this.zjdName = zjdName;
                }

                public int getArea() {
                    return area;
                }

                public void setArea(int area) {
                    this.area = area;
                }

                public String getAddress() {
                    return address;
                }

                public void setAddress(String address) {
                    this.address = address;
                }

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public int getDistance() {
                    return distance;
                }

                public void setDistance(int distance) {
                    this.distance = distance;
                }

                public double getLng() {
                    return lng;
                }

                public void setLng(double lng) {
                    this.lng = lng;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getDepartId() {
                    return departId;
                }

                public void setDepartId(String departId) {
                    this.departId = departId;
                }

                public String getDescription() {
                    return description;
                }

                public void setDescription(String description) {
                    this.description = description;
                }

                public String getZoneId() {
                    return zoneId;
                }

                public void setZoneId(String zoneId) {
                    this.zoneId = zoneId;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public double getLat() {
                    return lat;
                }

                public void setLat(double lat) {
                    this.lat = lat;
                }

                @Override
                public String toString() {
                    return "DetailsBean{" +
                            "area=" + area +
                            ", address='" + address + '\'' +
                            ", code='" + code + '\'' +
                            ", distance=" + distance +
                            ", lng=" + lng +
                            ", name='" + name + '\'' +
                            ", departId='" + departId + '\'' +
                            ", description='" + description + '\'' +
                            ", zoneId='" + zoneId + '\'' +
                            ", id='" + id + '\'' +
                            ", lat=" + lat +
                            '}';
                }
            }
        }
        public static class LinesBean implements Serializable{
            /**
             * zoneId : 402883b95939b53701593a7371650021
             * lineType : 1
             * points : [{"lng":104.970637,"lat":25.149824},{"lng":104.981812,"lat":25.162841}]
             * departId : 8a8ab0b246dc81120146dc8180a20016
             * county : 兴义
             * liable :
             * startLng : 104.970637
             * startLat : 25.149824
             * endLng : 104.981812
             * endLat : 25.162841
             * fromId : 8a21459c5b3d0ba0015b3d1249cc0002
             * toId : 8a21459c5b3d0ba0015b55c8810f0007
             * maintainLength : null
             * count : 216
             * length : null
             * name : 苗药光交箱至翠提湾机房
             * id : 8a21459c5b3d0ba0015b55cc4df5000b
             */

            private String zoneId;
            private String lineType;
            private String points;
            private String departId;
            private String county;
            private String liable;
            private String startLng;
            private String startLat;
            private String endLng;
            private String endLat;
            private String fromId;
            private String toId;
            private Object maintainLength;
            private String count;
            private Object length;
            private String name;
            private String id;

            public String getZoneId() {
                return zoneId;
            }

            public void setZoneId(String zoneId) {
                this.zoneId = zoneId;
            }

            public String getLineType() {
                return lineType;
            }

            public void setLineType(String lineType) {
                this.lineType = lineType;
            }

            public String getPoints() {
                return points;
            }

            public void setPoints(String points) {
                this.points = points;
            }

            public String getDepartId() {
                return departId;
            }

            public void setDepartId(String departId) {
                this.departId = departId;
            }

            public String getCounty() {
                return county;
            }

            public void setCounty(String county) {
                this.county = county;
            }

            public String getLiable() {
                return liable;
            }

            public void setLiable(String liable) {
                this.liable = liable;
            }

            public String getStartLng() {
                return startLng;
            }

            public void setStartLng(String startLng) {
                this.startLng = startLng;
            }

            public String getStartLat() {
                return startLat;
            }

            public void setStartLat(String startLat) {
                this.startLat = startLat;
            }

            public String getEndLng() {
                return endLng;
            }

            public void setEndLng(String endLng) {
                this.endLng = endLng;
            }

            public String getEndLat() {
                return endLat;
            }

            public void setEndLat(String endLat) {
                this.endLat = endLat;
            }

            public String getFromId() {
                return fromId;
            }

            public void setFromId(String fromId) {
                this.fromId = fromId;
            }

            public String getToId() {
                return toId;
            }

            public void setToId(String toId) {
                this.toId = toId;
            }

            public Object getMaintainLength() {
                return maintainLength;
            }

            public void setMaintainLength(Object maintainLength) {
                this.maintainLength = maintainLength;
            }

            public String getCount() {
                return count;
            }

            public void setCount(String count) {
                this.count = count;
            }

            public Object getLength() {
                return length;
            }

            public void setLength(Object length) {
                this.length = length;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

        }
        public static class LatLngBean implements Serializable {
            private double lng;
            private double lat;

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }
        }
    }
}
